#ifndef _PHYSICSSPRITE_H_
#define _PHYSICSSPRITE_H_

#include "cocos2d.h"
#include "Box2D/Box2D.h"

USING_NS_CC;

class CPhysicsSprite : public CCSprite
{
public:
    CPhysicsSprite();
    void setPhysicsBody(b2Body * body);
    virtual bool isDirty(void);
    virtual CCAffineTransform nodeToParentTransform(void);
private:
    b2Body* m_pBody;    // strong ref
};


#endif //end _PHYSICSSPRITE_H_